package main

import (
	"net/http"

	"gitee.com/shuwenhe/shuwen/regist/controller"
)

func main() {
	http.Handle("/page/", http.StripPrefix("/page/", http.FileServer(http.Dir("view/page"))))
	http.HandleFunc("/regist", controller.Regist)
	http.ListenAndServe(":8080", nil)
}
